Objects Reference

light_map::set_base

Prototype

void set_base(face *f,light_map_pic *lmp,vector& pos=vector(0,0,0))

Parameters

Parameter Type Description
f face * face using the light_map
lmp light_map_pic * light_map_pic for this light_map
pos vector& position for the light_map in world co-ordinates

Return Value

None

Remarks

This function precompute internal data required when mapping points from the light_map space into world space and vice-versa.